﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.Entitys.Entity
{
    /// <summary>
    /// 扫描异常记录表实体.
    /// </summary>
    [SugarTable("qms_busi_scan", "扫描异常记录表")]
    [Tenant(ClaimConst.TENANTID)]
    public class QmsBusiScanEntity:CLDEntityBase
    {

        /// <summary>
        /// 做番号 .
        /// </summary>
        [SugarColumn(ColumnName = "F_No", ColumnDescription = "做番号 ")]
        public string No { get; set; }

        /// <summary>
        /// 箱号.
        /// </summary>
        [SugarColumn(ColumnName = "F_BoxNo", ColumnDescription = "箱号")]
        public string BoxNo { get; set; }

        /// <summary>
        /// 箱名.
        /// </summary>
        [SugarColumn(ColumnName = "F_BoxName", ColumnDescription = "箱名")]
        public string BoxName { get; set; }

        /// <summary>
        /// 条码.
        /// </summary>
        [SugarColumn(ColumnName = "F_Barcode", ColumnDescription = "条码")]
        public string Barcode { get; set; }

        /// <summary>
        /// 扫描状态：0重复扫描 1 错误扫描.
        /// </summary>
        [SugarColumn(ColumnName = "F_ScanStatus", ColumnDescription = "扫描状态：0重复扫描 1 错误扫描")]
        public int? ScanStatus { get; set; }

        /// <summary>
        /// 扫描人.
        /// </summary>
        [SugarColumn(ColumnName = "F_ScanUserId", ColumnDescription = "扫描人")]
        public string ScanUserId { get; set; }

        /// <summary>
        /// 扫描日期.
        /// </summary>
        [SugarColumn(ColumnName = "F_ScanDate", ColumnDescription = "扫描日期")]
        public DateTime? ScanDate { get; set; }

        /// <summary>
        /// 备用字段.
        /// </summary>
        [SugarColumn(ColumnName = "F_Ohter1", ColumnDescription = "备用字段")]
        public string Ohter1 { get; set; }

        /// <summary>
        /// 备用字段.
        /// </summary>
        [SugarColumn(ColumnName = "F_Ohter2", ColumnDescription = "备用字段")]
        public string Ohter2 { get; set; }

        /// <summary>
        /// 备用字段.
        /// </summary>
        [SugarColumn(ColumnName = "F_Ohter3", ColumnDescription = "备用字段")]
        public string Ohter3 { get; set; }

        /// <summary>
        /// 备用字段.
        /// </summary>
        [SugarColumn(ColumnName = "F_Ohter4", ColumnDescription = "备用字段")]
        public string Ohter4 { get; set; }

        /// <summary>
        /// 备用字段.
        /// </summary>
        [SugarColumn(ColumnName = "F_Ohter5", ColumnDescription = "备用字段")]
        public string Ohter5 { get; set; }

        /// <summary>
        /// 创建人.
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorUserId", ColumnDescription = "创建人")]
        public string CreatorUserId { get; set; }

        /// <summary>
        /// 创建时间.
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorTime", ColumnDescription = "创建时间")]
        public DateTime? CreatorTime { get; set; }

    }
}
